#ifndef MYCLASS_H
#define MYCLASS_H

#include <QObject>

class MyClass : public QObject
{
    Q_OBJECT

public:
    Q_INVOKABLE QString sendMessage()
    {
        return QString("C++方法被调用！");
    }
};

#endif // MYCLASS_H
